//
//  SRcsemActivity.h
//  sr01sdkProject
//
//  Created by Linktop on 2024/8/30.
//  日内累计的活动数据

#import <Foundation/Foundation.h>
#import "CANalgProtocal.h"

NS_ASSUME_NONNULL_BEGIN

@interface CAnAlgGrandActivity2 : NSObject<CANalgProtocal>

@property(assign, nonatomic, readonly)uint8_t cmdByte;
@property(assign, nonatomic, readonly) NSUInteger year, month, day;
@property(assign, nonatomic, readonly)NSUInteger timeStamp;// Timestamp, accurate to day

@property(assign, nonatomic, readonly) NSUInteger totalWalkSteps;  // Total steps walked
@property(assign, nonatomic, readonly) NSUInteger totalRunSteps;   // Total running steps
@property(assign, nonatomic, readonly) NSUInteger totalOtherSteps; // Total other steps


@property(assign, nonatomic, readonly) NSUInteger totalDistance;// Unit: M

@property(assign, nonatomic, readonly) NSUInteger totalWalkDistance;// Unit: M Total walking distance
@property(assign, nonatomic, readonly) NSUInteger totalRunDistance;// Unit: M Total running distance
@property(assign, nonatomic, readonly) NSUInteger totalOtherDistance;// Unit: M Total other distances


- (instancetype)initWithData:(NSData *)data;
-(NSNumber *)dataTimeStamp;

@end

NS_ASSUME_NONNULL_END
